iOS SDK Extensions

  • A type that can be streamed with the Spotify Audio Playback framework.

    Types that conform to this protocol implement a convenience method that calls the shared SPTAudioStreamingController instance’s play(_:) method, beginning playback of the item that performed the method,

    See more

    Declaration

    Swift

    public protocol Playable
  • A type that can be added to the streaming queue with the Spotify Audio Playback framework.

    Types that conform to this protocol implement a convenience method that calls the shared SPTAudioStreamingController instance’s queue method, adding the item that performed the method to the streaming controller’s playback queue.

    See more

    Declaration

    Swift

    public protocol Queueable